package org.ttitfly.ttcore.util.exception;

import java.util.ArrayList;
import java.util.List;

public class GLActionCatchableException extends GLException {
    /**
     * 
     */
    private static final long serialVersionUID = -2495635930924822698L;

    public GLActionCatchableException(Exception e, String[] values) {
        super(e, values);
    }

    public GLActionCatchableException(Exception e) {
        super(e);
    }

    public GLActionCatchableException(String msg) {
        super(msg);
    }

    public GLActionCatchableException(Throwable e) {
        super(e);
    }

    public GLActionCatchableException(Throwable e, String msg) {
        super(msg, e);
    }

    public GLActionCatchableException() {
    }

    List<String> actionMsgList = new ArrayList<String>();

    public void addMessageForAction(String msg) {
        actionMsgList.add(msg);
    }

    public List<String> getMessageListForAction() {
        return actionMsgList;
    }

}
